package com.aliyun.messagemgt.dto.query;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author lby
 */
public class MsgHandleLogQuery {
    /**
     * 是否已读  0未读  1 已读
     */
    private Integer readStates;
    /**
     * 消息源ID
     */
    private Integer msgSourceId;
    /**
     * 消息ID
     */
    private Integer msgId;

    /**
     * 阅读时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date readTime;
    /**
     * 消息接收人
     */
    private String receiverId;

    public String getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(String receiverId) {
        this.receiverId = receiverId;
    }

    public Date getReadTime() {
        return readTime;
    }

    public void setReadTime(Date readTime) {
        this.readTime = readTime;
    }

    public Integer getReadStates() {
        return readStates;
    }

    public void setReadStates(Integer readStates) {
        this.readStates = readStates;
    }

    public Integer getMsgSourceId() {
        return msgSourceId;
    }

    public void setMsgSourceId(Integer msgSourceId) {
        this.msgSourceId = msgSourceId;
    }

    public Integer getMsgId() {
        return msgId;
    }

    public void setMsgId(Integer msgId) {
        this.msgId = msgId;
    }
    @Override
    public String toString() {
        return "MsgHandleLogQuery{" +
                "readStates=" + readStates +
                ", msgSourceId=" + msgSourceId +
                ", msgId=" + msgId +
                ", readTime=" + readTime +
                ", receiverId='" + receiverId + '\'' +
                '}';
    }


}
